package com.shop.product.service;

import com.shop.common.core.domain.Result;
import com.shop.product.domain.ShopCar;
import com.shop.product.domain.ShopCarAndDetails;
import com.shop.product.vo.ItemInfo;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @Author：作者姓名
 * @Package：com.shop.product.service.impl
 * @Project：RuoYi-Cloudnew
 * @name：ItemService
 * @Date：2024/6/5 19:33
 */
public interface ItemService {

    public ItemInfo getItemBySkuId(Long skuId) throws ExecutionException, InterruptedException;

    List<ShopCar> shopCarList(Long userId);

    void ShopCarAdd(ShopCarAndDetails shopCarAndDetails);

    void ShopCarDetailsDel(Long detailsId);

    Result ShopCarDetailsUpdate(ShopCarAndDetails shopCarAndDetails);
}
